package mud.events;

import mud.Combatable;

/** Indicates that a change in turns has occurred */
public class TurnEvent implements Event {
 
    /** the combatant that is beginning its turn */
    private final Combatable nextCombatant;

    /**
     * Constructs a new TurnEvent
     * @param nextCombatant the combatant that is beginning its turn
     */
    public TurnEvent(Combatable nextCombatant) {
        this.nextCombatant = nextCombatant;
    }
    
    /**
     * @return the combatant that is beginning its turn
     */
    public Combatable getNextCombatant() {
        return nextCombatant;
    }
}